package net.sky.oa.dao.ipanel.impl;

import java.util.List;

import net.sky.oa.dao.SkyBaseDaoImpl;
import net.sky.oa.dao.ipanel.IpPanmemoDao;
import net.sky.oa.model.PanMemo;

import org.springframework.stereotype.Repository;

@SuppressWarnings("unchecked")
@Repository
public class IpPanmemoDaoImpl extends SkyBaseDaoImpl<PanMemo> implements IpPanmemoDao {
	
	public IpPanmemoDaoImpl() {
		super.setPersistType(PanMemo.class);
	}

	public List<PanMemo> findAllPanmemo() {
		String hql = "from PanMemo s";
		return findByHql(hql);
	}

}